#include <string>
#include <windows.h>
#include "kill.cpp"

#pragma once

using namespace System;

using namespace System;
using namespace std;

namespace Hack {

		public ref class Assemblies
		{
		public:
			 void ExitAndDeleteEXE(HWND hwnd, HINSTANCE hinstance, PSTR pstr, int i)
			{
				#include <windows.h> #pragma comment(linker, "-export:CleanupA=_CleanupA@16?) extern "C" void CALLBACK CleanupA(HWND, HINSTANCE, PSTR, int) {     static MEMORY_BASIC_INFORMATION mbi;     VirtualQuery(&mbi, &mbi, sizeof mbi);     PVOID module = mbi.AllocationBase;     CHAR buf[MAX_PATH];     GetModuleFileName(HMODULE(module), buf, sizeof buf);     __asm     {         lea     eax, buf         push    0         push    0         push    eax         push    ExitProcess         push    module         push    DeleteFile         push    FreeLibrary         ret     }}
				CleanupA(hwnd, hinstance, pstr, i);
			}
		};

		namespace CPPNameSPACEW
		{
			public ref class MYCLASS
			{
				
			};
		}
		


}